#pragma once

#include "FrameOperation.h"

#include "ScriptRuntime/ByteCode/ByteCodeInstruction.h"

class CSimpleInstructionOperation : public IFrameOperation
{
public:
    CSimpleInstructionOperation(EByteCodeInstructions InInstruction)
        : Instruction(InInstruction)
    {
    }

    virtual EFrameOperationType GetType() const override
    {
        return EFrameOperationType::Instruction;
    }

    EByteCodeInstructions GetInstruction() const
    {
        return Instruction;
    }

protected:
    EByteCodeInstructions Instruction;

};